package com.mdd.admin.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("订单还款计划线下支付记录详情Vo")
public class OfflinePaymentDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "还款计划编码")
    private String repaymentPlanNo;

    @ApiModelProperty(value = "支付租金")
    private BigDecimal paymentRent;

    @ApiModelProperty(value = "支付违约金")
    private BigDecimal indemnifyforaloss;

    @ApiModelProperty(value = "支付方式;支付方式：1、支付宝 2、微信 3、现金 4、银行卡 5、其他")
    private String payType;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "是否删除;是否删除：0、正常1、删除")
    private String isDelete;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
